Test Results - sandbox_common_test

All Test Modules | GitHub Repository | Coverage Reports Designed for use with JUnit.

Summary

99.2%
Tests Failures Errors Skipped Success rate Time
250 0 0 2 99.20% 5.286
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Skipped Time(s) Time Stamp Host
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top


TestCase AstProcessorBuilder Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Data Collection with ReferenceHolder πŸ“Š

Name Status Type Time(s)
Collects nodes in ReferenceHolder πŸ”— Success 0.011
Accumulates data across multiple node types πŸ”— Success 0.006
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Factory Methods πŸ“Š

Name Status Type Time(s)
with(ReferenceHolder) creates builder πŸ”— Success 0.004
with(ReferenceHolder, Set) creates builder with custom node set πŸ”— Success 0.000
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Fluent API Chaining πŸ“Š

Name Status Type Time(s)
Multiple visitors can be chained πŸ”— Success 0.007
Builder returns itself for chaining πŸ”— Success 0.006
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onAssignment() πŸ“Š

Name Status Type Time(s)
Finds assignments πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onEnhancedForStatement() πŸ“Š

Name Status Type Time(s)
Finds enhanced for loops πŸ”— Success 0.008
Provides access to loop variable πŸ”— Success 0.000
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onIfStatement() πŸ“Š

Name Status Type Time(s)
Finds if statements πŸ”— Success 0.007
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodDeclaration() πŸ“Š

Name Status Type Time(s)
Finds all method declarations πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodInvocation() πŸ“Š

Name Status Type Time(s)
Filters by method name πŸ”— Success 0.001
Finds all method invocations πŸ”— Success 0.005
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onReturnStatement() πŸ“Š

Name Status Type Time(s)
Finds return statements πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onTypeDeclaration() πŸ“Š

Name Status Type Time(s)
Finds type declarations πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onVariableDeclarationFragment() πŸ“Š

Name Status Type Time(s)
Finds variable declarations πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests processor() Access πŸ“Š

Name Status Type Time(s)
processor() provides access to underlying ASTProcessor πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase ExpressionHelper Tests createNegatedExpression() πŸ“Š

Name Status Type Time(s)
Negates simple name without parentheses πŸ”— Success 0.001
null AST throws exception πŸ”— Success 0.001
Negates infix expression with parentheses πŸ”— Success 0.007
null condition throws exception πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests isIdentityMapping() πŸ“Š

Name Status Type Time(s)
SimpleName not matching varName is not identity πŸ”— Success 0.000
SimpleName matching varName is identity πŸ”— Success 0.001
InfixExpression is not identity πŸ”— Success 0.006
null varName returns false πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests isNegatedExpression() πŸ“Š

Name Status Type Time(s)
SimpleName is not negated πŸ”— Success 0.001
PrefixExpression with MINUS is not negated πŸ”— Success 0.000
PrefixExpression with NOT is negated πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests needsParentheses() πŸ“Š

Name Status Type Time(s)
SimpleName does not need parentheses πŸ”— Success 0.000
InfixExpression needs parentheses πŸ”— Success 0.000
null input throws exception πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests stripNegation() πŸ“Š

Name Status Type Time(s)
Strips negation from PrefixExpression with NOT πŸ”— Success 0.000
Returns original if not negated πŸ”— Success 0.001
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests AnnotationVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: processEach without compilationUnit should throw πŸ”— Success 0.002
Collect annotations using collect() method πŸ”— Success 0.008
Find @SuppressWarnings annotations (SingleMemberAnnotation) πŸ”— Success 0.010
Find @Override annotations πŸ”— Success 0.007
Find @Deprecated annotations by fully qualified name πŸ”— Success 0.018
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests FieldVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: FieldVisitorBuilder requires both annotation and type πŸ”— Success 0.030
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ImportVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find static imports πŸ”— Success 0.008
Find regular imports πŸ”— Success 0.018
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests MethodCallVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find single method call πŸ”— Success 0.011
Collect method calls using collect() πŸ”— Success 0.010
Find multiple method calls πŸ”— Success 0.007
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests Processing Control Tests πŸ“Š

Name Status Type Time(s)
Early termination when processor returns false πŸ”— Success 0.008
Excluding processed nodes πŸ”— Success 0.010
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ReferenceHolder Integration Tests πŸ“Š

Name Status Type Time(s)
ReferenceHolder can be used to collect data πŸ”— Success 0.012
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest ReferenceHolder Correctness Tests πŸ“Š

Name Status Type Time(s)
Multiple nodes are correctly stored in ReferenceHolder πŸ”— Success 0.017
ReferenceHolder is correctly populated in processEach and accessible afterwards πŸ”— Success 0.016
ReferenceHolder.get() returns null for non-existent key - edge case from PR #494 πŸ”— Success 0.009
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest collect() Tests πŸ“Š

Name Status Type Time(s)
collect() gathers all found nodes πŸ”— Success 0.043
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forAnnotation() Tests πŸ“Š

Name Status Type Time(s)
forAnnotation skips already processed nodes πŸ”— Success 0.031
forAnnotation finds MarkerAnnotation and populates ReferenceHolder correctly πŸ”— Success 0.015
forAnnotation with andImports also finds imports πŸ”— Success 0.010
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forField() Tests πŸ“Š

Name Status Type Time(s)
forField with annotation finds FieldDeclaration πŸ”— Success 0.017
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forImport() Tests πŸ“Š

Name Status Type Time(s)
forImport finds ImportDeclaration and populates ReferenceHolder correctly πŸ”— Success 0.019
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forMethodCalls() Tests πŸ“Š

Name Status Type Time(s)
forMethodCalls with andStaticImports and andImportsOf πŸ”— Success 0.018
forMethodCalls finds MethodInvocation and populates ReferenceHolder correctly πŸ”— Success 0.027
Properties Β»

Back to top

TestCase LibStandardNames Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase LibStandardNames Tests Existing Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_DEFAULT_CHARSET is 'defaultCharset' πŸ”— Success 0.001
METHOD_GET_PROPERTY is 'getProperty' πŸ”— Success 0.002
METHOD_LINE_SEPARATOR is 'lineSeparator' πŸ”— Success 0.000
FIELD_UTF8 is 'UTF_8' πŸ”— Success 0.000
METHOD_TOSTRING is 'toString' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase LibStandardNames Tests Fully Qualified Type Names πŸ“Š

Name Status Type Time(s)
JAVA_LANG_DOUBLE is 'java.lang.Double' πŸ”— Success 0.008
JAVA_LANG_STRING is 'java.lang.String' πŸ”— Success 0.000
JAVA_LANG_MATH is 'java.lang.Math' πŸ”— Success 0.001
JAVA_LANG_LONG is 'java.lang.Long' πŸ”— Success 0.000
JAVA_LANG_INTEGER is 'java.lang.Integer' πŸ”— Success 0.001
Properties Β»

Back to top

TestCase LibStandardNames Tests Math Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_CONCAT is 'concat' πŸ”— Success 0.000
METHOD_SUM is 'sum' πŸ”— Success 0.008
METHOD_MIN is 'min' πŸ”— Success 0.001
METHOD_MAX is 'max' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase LibStandardNames Tests Stream API Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_STREAM is 'stream' πŸ”— Success 0.000
METHOD_FOREACH is 'forEach' πŸ”— Success 0.001
METHOD_REDUCE is 'reduce' πŸ”— Success 0.000
METHOD_ANY_MATCH is 'anyMatch' πŸ”— Success 0.000
METHOD_NONE_MATCH is 'noneMatch' πŸ”— Success 0.000
METHOD_FILTER is 'filter' πŸ”— Success 0.001
METHOD_MAP is 'map' πŸ”— Success 0.000
METHOD_ALL_MATCH is 'allMatch' πŸ”— Success 0.002
METHOD_FOR_EACH_ORDERED is 'forEachOrdered' πŸ”— Success 0.001
Properties Β»

Back to top

TestCase NodeMatcher Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase NodeMatcher Tests Chaining and State Management πŸ“Š

Name Status Type Time(s)
Chaining stops after first match πŸ”— Success 0.010
isHandled() returns true after match πŸ”— Success 0.010
Properties Β»

Back to top

TestCase NodeMatcher Tests Expression Type Matchers πŸ“Š

Name Status Type Time(s)
ifPrefixIncrementOrDecrement matches decrement πŸ”— Success 0.005
ifPrefixExpression matches PrefixExpression πŸ”— Success 0.007
ifMethodInvocation matches MethodInvocation πŸ”— Success 0.005
ifSimpleName matches SimpleName πŸ”— Success 0.006
ifAssignmentWithOperator matches specific operator πŸ”— Success 0.003
ifPostfixIncrementOrDecrement matches increment πŸ”— Success 0.008
ifAssignment matches Assignment πŸ”— Success 0.007
ifMethodInvocationNamed matches by method name πŸ”— Success 0.007
ifPostfixExpression matches PostfixExpression πŸ”— Success 0.006
Properties Β»

Back to top

TestCase NodeMatcher Tests Factory Methods πŸ“Š

Name Status Type Time(s)
isHandled() returns false initially πŸ”— Success 0.016
on() creates NodeMatcher instance πŸ”— Success 0.003
Properties Β»

Back to top

TestCase NodeMatcher Tests Generic Type Matchers πŸ“Š

Name Status Type Time(s)
ifTypeMatching with predicate πŸ”— Success 0.004
ifType matches by class type πŸ”— Success 0.009
Properties Β»

Back to top

TestCase NodeMatcher Tests Statement Type Matchers πŸ“Š

Name Status Type Time(s)
ifThrowStatement matches ThrowStatement πŸ”— Success 0.007
ifReturnStatement matches ReturnStatement πŸ”— Success 0.006
ifIfStatementWithElse matches if with else πŸ”— Success 0.008
ifVariableDeclaration matches VariableDeclarationStatement πŸ”— Success 0.006
ifContinueStatement matches ContinueStatement πŸ”— Success 0.020
ifIfStatement matches IfStatement πŸ”— Success 0.015
ifBlock matches Block πŸ”— Success 0.006
ifExpressionStatement matches ExpressionStatement πŸ”— Success 0.004
ifBreakStatement matches BreakStatement πŸ”— Success 0.004
ifVariableDeclarationMatching with predicate πŸ”— Success 0.004
ifIfStatementWithoutElse matches if without else πŸ”— Success 0.003
Properties Β»

Back to top

TestCase NodeMatcher Tests Terminal Operations πŸ“Š

Name Status Type Time(s)
orElse does not execute when already handled πŸ”— Success 0.008
orElse executes when no matcher handled πŸ”— Success 0.006
orElseGet returns empty when already handled πŸ”— Success 0.006
orElseGet returns Optional when not handled πŸ”— Success 0.006
orElseDo executes runnable when not handled πŸ”— Success 0.017
Properties Β»

Back to top

TestCase NodeMatcher Tests Utility Methods πŸ“Š

Name Status Type Time(s)
isControlFlowStatement returns true for throw πŸ”— Success 0.017
isControlFlowStatement returns true for continue πŸ”— Success 0.006
getExpression returns Optional with expression πŸ”— Success 0.008
getAssignment returns empty for non-assignment πŸ”— Success 0.010
getAssignment returns Optional with assignment πŸ”— Success 0.007
isAssignmentStatement returns false for non-assignment πŸ”— Success 0.006
isControlFlowStatement returns true for return πŸ”— Success 0.006
isAssignmentStatement returns true for assignment πŸ”— Success 0.006
isControlFlowStatement returns true for break πŸ”— Success 0.006
isControlFlowStatement returns false for variable declaration πŸ”— Success 0.007
getExpression returns empty for non-expression statement πŸ”— Success 0.006
Properties Β»

Back to top

TestCase StatementContext Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase StatementContext Tests Conditional Helpers πŸ“Š

Name Status Type Time(s)
ifFirst executes for first statement πŸ”— Success 0.046
ifLast executes for last statement πŸ”— Success 0.014
ifNotLast executes for non-last statement πŸ”— Success 0.014
ifLast does not execute for non-last statement πŸ”— Success 0.009
ifOnly executes for only statement πŸ”— Success 0.015
Properties Β»

Back to top

TestCase StatementContext Tests Edge Cases πŸ“Š

Name Status Type Time(s)
Context chaining with ifLast πŸ”— Success 0.010
getRemainingCount is zero for last statement πŸ”— Success 0.011
Single statement is first, last, and only πŸ”— Success 0.013
Properties Β»

Back to top

TestCase StatementContext Tests Factory Methods πŸ“Š

Name Status Type Time(s)
processBlock allows early termination πŸ”— Success 0.014
forSingle creates context for single statement πŸ”— Success 0.007
forEachInBlock processes all statements πŸ”— Success 0.006
processBlock returns empty when no match πŸ”— Success 0.005
forStatement creates context with position info πŸ”— Success 0.010
Properties Β»

Back to top

TestCase StatementContext Tests List Operations πŸ“Š

Name Status Type Time(s)
getRemainingStatements returns empty for last statement πŸ”— Success 0.005
getPrecedingStatements returns statements before current πŸ”— Success 0.006
getRemainingStatements returns statements after current πŸ”— Success 0.006
getPrecedingStatements returns empty for first statement πŸ”— Success 0.009
Properties Β»

Back to top

TestCase StatementContext Tests Matcher Integration πŸ“Š

Name Status Type Time(s)
nextIs returns true for matching type πŸ”— Success 0.016
nextIs with predicate returns true when both match πŸ”— Success 0.027
nextMatches returns true when predicate matches πŸ”— Success 0.010
matcher returns NodeMatcher for statement πŸ”— Success 0.012
nextMatches returns false when predicate does not match πŸ”— Success 0.008
Properties Β»

Back to top

TestCase StatementContext Tests Navigation Methods πŸ“Š

Name Status Type Time(s)
getNextStatement returns next statement πŸ”— Success 0.007
getPreviousStatement returns previous statement πŸ”— Success 0.006
getPreviousStatement returns empty for first statement πŸ”— Success 0.007
getStatementAt returns empty for out of bounds πŸ”— Success 0.007
getNextStatement returns empty for last statement πŸ”— Success 0.010
getStatementAt returns statement at negative offset πŸ”— Success 0.007
getStatementAt returns statement at positive offset πŸ”— Success 0.009
Properties Β»

Back to top

TestCase StatementContext Tests Position Queries πŸ“Š

Name Status Type Time(s)
getRemainingCount returns correct count πŸ”— Success 0.008
isMiddle returns false for first statement πŸ”— Success 0.011
hasNext returns false for last statement πŸ”— Success 0.010
isOnly returns true for single statement πŸ”— Success 0.006
hasNext returns true when there are more statements πŸ”— Success 0.007
isLast returns true for last statement πŸ”— Success 0.006
isMiddle returns true for middle statement πŸ”— Success 0.006
isFirst returns false for non-first statement πŸ”— Success 0.002
isFirst returns true for first statement πŸ”— Success 0.003
hasPrevious returns true when there are previous statements πŸ”— Success 0.007
hasPrevious returns false for first statement πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.internal.common.HelperVisitorFluentApiTest πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.TriggerPatternCleanupTest πŸ“Š

Name Status Type Time(s)
testAnnotationPatternMatching πŸ”— Success 0.607
testNoMatchesForDifferentAnnotation πŸ”— Success 0.012
testAnnotationWithQualifiedType πŸ”— Success 0.010
testMultipleAnnotationMatches πŸ”— Success 0.008
testAnnotationWithPlaceholder πŸ”— Success 0.033
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.MultiPlaceholderTest πŸ“Š

Name Status Type Time(s)
testMultiPlaceholderConsistencyCheck πŸ”— Success 0.006
testMultiPlaceholderMatchesZeroArguments πŸ”— Success 0.005
testMultiPlaceholderMatchesOneArgument πŸ”— Success 0.005
testMultiPlaceholderMatchesMultipleArguments πŸ”— Success 0.004
testMultiPlaceholderMatchesVariousArgumentTypes πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.NewPatternKindsTest πŸ“Š

Name Status Type Time(s)
testSimpleField πŸ”— Success 0.010
testFieldWithPlaceholderType πŸ”— Success 0.009
testSimpleMarkerAnnotation πŸ”— Success 0.008
testSimpleMethodCall πŸ”— Success 0.017
testSimpleImport πŸ”— Success 0.005
testMultipleImports πŸ”— Success 0.007
testFieldWithAnnotation πŸ”— Success 0.013
testMultipleAnnotationsOnSameElement πŸ”— Success 0.005
testMethodCallWithMultipleArguments πŸ”— Success 0.009
testAnnotationWithParameters πŸ”— Success 0.006
testMethodCallWithPlaceholderQualifier πŸ”— Success 0.002
testStaticImport πŸ”— Success 0.004
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PatternParserTest πŸ“Š

Name Status Type Time(s)
testParseSimpleExpression πŸ”— Success 0.002
testParsePlaceholderExpression πŸ”— Success 0.001
testParseMethodInvocation πŸ”— Success 0.003
testParseIfStatement πŸ”— Skipped
org.opentest4j.AssertionFailedError: Parser should return a non-null node ==> expected: not <null> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) at org.sandbox.jdt.triggerpattern.test.PatternParserTest.testParseIfStatement(PatternParserTest.java:73) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testParseReturnStatement πŸ”— Success 0.003
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PlaceholderMatcherTest πŸ“Š

Name Status Type Time(s)
testNonPlaceholderMustMatchExactly πŸ”— Success 0.004
testMultipleSamePlaceholdersMustMatch πŸ”— Success 0.006
testDifferentPlaceholdersBindIndependently πŸ”— Success 0.002
testPlaceholderBinds πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest πŸ“Š

Name Status Type Time(s)
testMultipleSamePlaceholder πŸ”— Success 0.017
testNoMatchesFound πŸ”— Success 0.007
testFindSingleMatch πŸ”— Success 0.023
testStatementPattern πŸ”— Skipped
org.opentest4j.AssertionFailedError: Should find one statement pattern match ==> expected: <1> but was: <0> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563) at org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest.testStatementPattern(TriggerPatternEngineTest.java:134) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testFindMultipleMatches πŸ”— Success 0.006
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ASTProcessorTest πŸ“Š

Name Status Type Time(s)
testAncestorNavigation πŸ”— Success 0.020
testAssignmentByOperator πŸ”— Success 0.008
testHierarchicalSearch πŸ”— Success 0.007
testInfixExpressionByOperator πŸ”— Success 0.010
testMethodDeclarationByName πŸ”— Success 0.002
testSingleVisitor πŸ”— Success 0.003
testCatchClauseByExceptionType πŸ”— Success 0.021
testFieldDeclarationByType πŸ”— Success 0.023
testClassInstanceCreationWithTypeAndNavigate πŸ”— Success 0.001
testMethodInvocationFiltering πŸ”— Success 0.002
testTypeDeclarationByName πŸ”— Success 0.007
testSuperMethodInvocationByName πŸ”— Success 0.021
testBasicChaining πŸ”— Success 0.007
testForStatementWithTypeFilter πŸ”— Success 0.029
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.AdvancedVisitorPatternsTest πŸ“Š

Name Status Type Time(s)
testCoordinatedMultiPhaseProcessing πŸ”— Success 0.026
testCombiningVisitorsWithOr πŸ”— Success 0.005
testCombiningVisitorsWithAnd πŸ”— Success 0.001
testDynamicVisitorRemoval πŸ”— Success 0.001
testTrackingProcessedNodes πŸ”— Success 0.009
testNegateFilter πŸ”— Success 0.001
testStatefulVisitorBehavior πŸ”— Success 0.001
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.BasicVisitorUsageTest πŸ“Š

Name Status Type Time(s)
testMethodNameFiltering πŸ”— Success 0.001
testMethodNameFilteringTraditional πŸ”— Success 0.000
testTraditionalVisitorApproach πŸ”— Success 0.002
testLambdaExpression πŸ”— Success 0.001
testSkipChildNodes πŸ”— Success 0.000
testMultipleNodeTypes πŸ”— Success 0.000
testVisitEndCallback πŸ”— Success 0.001
testBasicMethodReference πŸ”— Success 0.001
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.MatcherTest πŸ“Š

Name Status Type Time(s)
matcherTest πŸ”— Success 0.006
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ReferenceHolderTest πŸ“Š

Name Status Type Time(s)
testCountingWithStaticMethod πŸ”— Success 0.011
testComplexDataStructures πŸ”— Success 0.001
testCollectingNodePositions πŸ”— Success 0.004
testCountingNodes πŸ”— Success 0.001
testLazyInitialization πŸ”— Success 0.004
testSharedDataBetweenCallbacks πŸ”— Success 0.001
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorApiDocumentationTest πŸ“Š

Name Status Type Time(s)
testCallbackSignatures πŸ”— Success 0.012
testBasicUsagePattern πŸ”— Success 0.001
testVisitEndCallbacks πŸ”— Success 0.006
testApiOverview πŸ”— Success 0.001
testDataSharingPatterns πŸ”— Success 0.007
testStaticHelperMethods πŸ”— Success 0.001
testVisitorRegistration πŸ”— Success 0.007
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorTest πŸ“Š

Name Status Type Time(s)
testNestedHierarchicalSearch πŸ”— Success 0.009
testFluentApiWithMethodFiltering πŸ”— Success 0.001
testMethodInvocationByType πŸ”— Success 0.007
testMultiPhaseProcessing πŸ”— Success 0.002
testSimpleFluentApi πŸ”— Success 0.001
testDynamicVisitorModification πŸ”— Success 0.004
testFluentApiWithNavigation πŸ”— Success 0.005
testComplexDataCollection πŸ”— Success 0.010
Properties Β»

Back to top

All Test Reports | Coverage Reports | GitHub Repository

Generated by Sandbox